package yl.hs.bmipfull.pojo.vehiclemanage;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 吴高丰
 * @apiNote 车辆加油记录表实体类
 * @since 2022年08月02日 16时23分12秒
 */
@DBTable(disName = "车辆加油记录表", mapCode = "truck_add_fuel_record")
public class TruckAddFuelRecordEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "车辆加油记录表编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "JYXX")
    private String sn;
    /**
     * 车牌号
     */
    @DBField(disName = "车牌号", mapCode = "truckplate")
    private String truckplate;
    /**
     * 车辆编号
     */
    @DBField(disName = "车辆编号", mapCode = "truckplateSn")
    private String truckplateSn;
    /**
     * 车辆公里数
     */
    @DBField(disName = "车辆公里数", mapCode = "mileage")
    private int mileage;
    /**
     * 加油时间
     */
    @DBField(disName = "加油时间", mapCode = "handlerTime")
    private Date handlerTime;
    /**
     * 油类
     */
    @DBField(disName = "油类", mapCode = "oils")
    private String oils;
    /**
     * 油品
     */
    @DBField(disName = "油品", mapCode = "fuelName")
    private String fuelName;
    /**
     * 加油量
     */
    @DBField(disName = "加油量", mapCode = "quantity")
    private BigDecimal quantity;
    /**
     * 加油单价
     */
    @DBField(disName = "加油单价", mapCode = "price")
    private BigDecimal price;
    /**
     * 加油金额
     */
    @DBField(disName = "加油金额", mapCode = "amount")
    private BigDecimal amount;
    /**
     * 操作员
     */
    @DBField(disName = "操作员", mapCode = "handlerName")
    private String handlerName;
    /**
     * 操作员拼音
     */
    @DBField(disName = "操作员拼音", mapCode = "handlerNamePY")
    private String handlerNamePY;
    /**
     * 司机
     */
    @DBField(disName = "司机", mapCode = "driverName")
    private String driverName;
    /**
     * 司机拼音
     */
    @DBField(disName = "司机拼音", mapCode = "driverNamePY")
    private String driverNamePY;
    /**
     * 小票编号
     */
    @DBField(disName = "小票编号", mapCode = "ticketSN")
    private String ticketSN;
    /**
     * 记录员
     */
    @DBField(disName = "记录员", mapCode = "recorder")
    private String recorder;
    /**
     * 照片
     */
    @DBField(disName = "照片", mapCode = "photo")
    private String photo;
    /**
     * 备注
     */
    @DBField(disName = "备注", mapCode = "remark")
    private String remark;
    /**
     * 数据状态
     */
    @DBField(disName = "数据状态", mapCode = "state")
    private int state;
    /**
     * 油罐编号
     */
    @DBField(disName = "油罐编号", mapCode = "tankNoSn")
    private String tankNoSn;

    /**
     * 油罐编号
     */
    @DBField(disName = "油罐名字", mapCode = "tankNoName")
    private String tankNoName;

    public void setTankNoName(String tankNoName) {
        this.tankNoName = tankNoName;
    }

    public String getTankNoName() {
        return this.tankNoName;
    }

    public void setTankNoSn(String tankNoSn) {
        this.tankNoSn = tankNoSn;
    }

    public String getTankNoSn() {
        return this.tankNoSn;
    }
    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return this.id;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getSn() {
        return this.sn;
    }

    public void setTruckplate(String truckplate) {
        this.truckplate = truckplate;
    }

    public String getTruckplate() {
        return this.truckplate;
    }

    public void setTruckplateSn(String truckplateSn) {
        this.truckplateSn = truckplateSn;
    }

    public String getTruckplateSn() {
        return this.truckplateSn;
    }

    public void setMileage(int mileage) {
        this.mileage = mileage;
    }

    public int getMileage() {
        return this.mileage;
    }

    public void setHandlerTime(Date handlerTime) {
        this.handlerTime = handlerTime;
    }

    public Date getHandlerTime() {
        return this.handlerTime;
    }

    public void setOils(String oils) {
        this.oils = oils;
    }

    public String getOils() {
        return this.oils;
    }

    public void setFuelName(String fuelName) {
        this.fuelName = fuelName;
    }

    public String getFuelName() {
        return this.fuelName;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getQuantity() {
        return this.quantity;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPrice() {
        return this.price;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getAmount() {
        return this.amount;
    }

    public void setHandlerName(String handlerName) {
        this.handlerName = handlerName;
    }

    public String getHandlerName() {
        return this.handlerName;
    }

    public void setHandlerNamePY(String handlerNamePY) {
        this.handlerNamePY = handlerNamePY;
    }

    public String getHandlerNamePY() {
        return this.handlerNamePY;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverName() {
        return this.driverName;
    }

    public void setDriverNamePY(String driverNamePY) {
        this.driverNamePY = driverNamePY;
    }

    public String getDriverNamePY() {
        return this.driverNamePY;
    }

    public void setTicketSN(String ticketSN) {
        this.ticketSN = ticketSN;
    }

    public String getTicketSN() {
        return this.ticketSN;
    }

    public void setRecorder(String recorder) {
        this.recorder = recorder;
    }

    public String getRecorder() {
        return this.recorder;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPhoto() {
        return this.photo;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getState() {
        return this.state;
    }

}